package com.hanbang.taitaigou.model;

/**
 * 商品详情
 * Created by fanxin on 2016/3/25.
 */
public class GetGoodsByID {
    /**
     * 商品ID
     **/
    private int id;
    /**
     * 类别ID
     **/
    private int dept_id;
    /****/
    private int sort_id;
    /**
     * 商品名字
     **/
    private String gname;
    /**
     * 品牌
     **/
    private String subtitle;
    /**
     * 箱
     **/
    private String unit;
    /**
     * 原价
     **/
    private double original_price;
    /**
     * 出售价格
     **/
    private double sell_price;
    /**
     * 图片
     **/
    private String img_url;
    /**
     * 规格
     **/
    private int pknum;
    /**
     * 数量
     **/
    private double quantity;
    /**
     * 批发价格
     **/
    private int wholesale_price;
    /****/
    private String content;
    /****/
    private double weight;

    /**
     * 购买的数量
     **/
    private int shuliang;

    public int getShuliang() {
        return shuliang;
    }

    public void setShuliang(int shuliang) {
        this.shuliang = shuliang;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getDept_id() {
        return dept_id;
    }

    public void setDept_id(int dept_id) {
        this.dept_id = dept_id;
    }

    public int getSort_id() {
        return sort_id;
    }

    public void setSort_id(int sort_id) {
        this.sort_id = sort_id;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public double getOriginal_price() {
        return original_price;
    }

    public void setOriginal_price(double original_price) {
        this.original_price = original_price;
    }

    public double getSell_price() {
        return sell_price;
    }

    public void setSell_price(double sell_price) {
        this.sell_price = sell_price;
    }

    public String getImg_url() {
        return img_url;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url;
    }

    public int getPknum() {
        return pknum;
    }

    public void setPknum(int pknum) {
        this.pknum = pknum;
    }

    public double getQuantity() {
        return quantity;
    }

    public void setQuantity(double quantity) {
        this.quantity = quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getWholesale_price() {
        return wholesale_price;
    }

    public void setWholesale_price(int wholesale_price) {
        this.wholesale_price = wholesale_price;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    public DbGwcData getDbGwcData() {
        return new DbGwcData(id, original_price, sell_price, shuliang, gname, img_url, (int) quantity);
    }


}


